The remove method removes a value at a given index.
remove(index);
index
Index location where to remove the value from.
function calculate(beginIndex, endIndex)
{
var studyData = this.getStudyData("customSMA");
if(studyData != null)
{
//remove first value from StudyData object
if(studyData.count() > 0)
studyData.remove(0);
}
}
Copyright © 2006-2009 ActiveTick LLC